﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace SimpleScrum.Core.Entities
{
    public class TeamMember
    {
        [Display(Name = "Team Member ID")]
        public virtual Guid Id { get; set; }

        [Required]
        [Display(Name = "User")]
        public virtual Users Users { get; set; }

        [Required]
        [Display(Name = "Team")]
        public virtual Team Team { get; set; }

        public virtual IList<Users> UsersList { get; set; }
    }
}